package top.xchch.creational.bridge;

public class UpRightPhone extends BasePhone{

    public UpRightPhone(IBrand brand) {
        super.setBrand(brand);
        System.out.println("直立样式手机~~~");
    }

    @Override
    protected void open() {
        super.getBrand().open();
    }

    @Override
    protected void close() {
        super.getBrand().close();
    }

    @Override
    protected void call() {
        super.getBrand().call();
    }
}
